// @Desc:
// @CreateTime: 2020/10/17
package role

import (
     "mycrm.com/module"
     "mycrm.com/module/user"
)

// role
type Role struct {
     module.MyBaseModel
     Name string `json:"name"`
     Role2User []user.CrmUser2role `gorm:"foreignKey:RoleId" json:"-"`
}

func (Role) TableName() string {
     return "crm_role"
}
